package com.demo.account.api;

import com.demo.account.model.AccountVO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author wuyijie
 * @className: IAccountService
 * @description: TODO account服务需要暴露的接口抽离
 * @date 2021/3/30 12:39
 */
public interface AccountApi {
    /**
     * @description:  根据id查询
     * @param:  主键id
     * @return: com.demo.account.model.AccountVO
     * @author wuyijie
     * @date: 2021/3/30 12:46
     */
    AccountVO getById(@RequestParam("id") int id);

    List<AccountVO> listAccount();
}
